﻿using System.Collections.Generic;
using ATTools.Models;
using Orchard.Environment.Extensions;

namespace ATTools.ViewModels
{
    [OrchardFeature("ATTools")]
    public class ATToolsSiteSettingsPartViewModel
    {
        public ATToolsSettingsPart Part { get; set; }
        public IEnumerable<Voice> AvailableVoices { get; set; }

        public string BingAppID
        {
            get { return Part.Record.BingAppID; }
            set { Part.Record.BingAppID = value; }
        }

    }

    [OrchardFeature("ATTools")]
    public class Voice
    {
        public string Name { get; set; }
        public string FriendlyName { get; set; }
    }
}